package com.itc.bpm.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.node.ArrayNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class BpmHistoryTaskDto implements Serializable {

    @ApiModelProperty(value = "任务id")
    private String taskId;
    @ApiModelProperty(value = "任务名称")
    private String taskName;
    @ApiModelProperty(value = "任务状态")
    private Integer status;
    @ApiModelProperty(value = "表单编码")
    private String formCode;
    @ApiModelProperty(value = "表单id")
    private String formId;
    @ApiModelProperty("节点填报记录数据")
    private List<ObjectNode> data;
    @ApiModelProperty("表格column")
    private List<FormFiledDto> filed;

    @ApiModelProperty(value = "领取时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime;
    @ApiModelProperty(value = "领取人")
    private String applyUser;
    @ApiModelProperty(value = "是否重复提交")
    private Integer isRepeatComplete;
    @ApiModelProperty(value = "响应时长")
    private Integer responseTime;
    @ApiModelProperty(value = "处理时长")
    private Integer dealTime;
    @ApiModelProperty(value = "实际响应时长")
    private Integer realResponseTime;
    @ApiModelProperty(value = "实际处理时长")
    private Integer realDealTime;
    @ApiModelProperty(value = "是否结束循环任务")
    private Integer isFinishRepeat;
    @ApiModelProperty(value = "任务间隔时长")
    private Integer spaceTime;
    @ApiModelProperty(value = "是否循环任务")
    private Integer isCirculate;
    @ApiModelProperty(value = "完成任务人员")
    private String completeUser;
    @ApiModelProperty(value = "认领席位")
    private String applyDeptChild;

}
